package com.banyuan.lesson.设计模式.singleton;

import org.w3c.dom.ls.LSOutput;

public enum EnumSingleton {
    INSTANCE("");

    private String param;

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    private EnumSingleton(String param) {
        this.param = param;
    }

    public void method(){
        System.out.println(param);
    }

}
